﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Security.Principal;
using System.Text;

namespace uowDemo
{
    public interface IUnitOfWork: IDisposable
    {
        void Commit();
        void Rollback();
        void BeginTransaction();
        void RegisterNew(object entity);
        void RegisterDirty(object entity);
        void RegisterDeleted(object entity);
    }
}
